home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Interfaces / AppleScript 1.1 Interfaces / CIncludes / AERegistry.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-27  |  23.5 KB  |  608 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        AERegistry.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __AEREGISTRY__
  13. #define __AEREGISTRY__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. /*    #include <ConditionalMacros.h>                                */
  18. /*    #include <MixedMode.h>                                        */
  19. /*        #include <Traps.h>                                        */
  20. #endif
  21.  
  22. #ifndef __APPLEEVENTS__
  23. #include <AppleEvents.h>
  24. /*    #include <Memory.h>                                            */
  25. /*    #include <OSUtils.h>                                        */
  26. /*    #include <Events.h>                                            */
  27. /*        #include <Quickdraw.h>                                    */
  28. /*            #include <QuickdrawText.h>                            */
  29. /*                #include <IntlResources.h>                        */
  30. /*    #include <EPPC.h>                                            */
  31. /*        #include <PPCToolBox.h>                                    */
  32. /*            #include <AppleTalk.h>                                */
  33. /*        #include <Processes.h>                                    */
  34. /*            #include <Files.h>                                    */
  35. /*                #include <SegLoad.h>                            */
  36. /*    #include <Notification.h>                                    */
  37. #endif
  38.  
  39. enum  {
  40.     cAEList                        = 0x6c697374,                    //  'list'  //
  41.     cApplication                = 0x63617070,                    //  'capp'  //
  42.     cArc                        = 0x63617263,                    //  'carc'  //
  43.     cBoolean                    = 0x626f6f6c,                    //  'bool'  //
  44.     cCell                        = 0x6363656c,                    //  'ccel'  //
  45.     cChar                        = 0x63686120,                    //  'cha '  //
  46.     cColorTable                    = 0x636c7274,                    //  'clrt'  //
  47.     cColumn                        = 0x63636f6c,                    //  'ccol'  //
  48.     cDocument                    = 0x646f6375,                    //  'docu'  //
  49.     cDrawingArea                = 0x63647277,                    //  'cdrw'  //
  50.     cEnumeration                = 0x656e756d,                    //  'enum'  //
  51.     cFile                        = 0x66696c65,                    //  'file'  //
  52.     cFixed                        = 0x66697864,                    //  'fixd'  //
  53.     cFixedPoint                    = 0x66706e74,                    //  'fpnt'  //
  54.     cFixedRectangle                = 0x66726374,                    //  'frct'  //
  55.     cGraphicLine                = 0x676c696e,                    //  'glin'  //
  56.     cGraphicObject                = 0x63676f62,                    //  'cgob'  //
  57.     cGraphicShape                = 0x63677368,                    //  'cgsh'  //
  58.     cGraphicText                = 0x63677478,                    //  'cgtx'  //
  59.     cGroupedGraphic                = 0x63706963                    //  'cpic'  //
  60. };
  61.  
  62. enum  {
  63.     cInsertionLoc                = 0x696e736c,                    //  'insl'  //
  64.     cInsertionPoint                = 0x63696e73,                    //  'cins'  //
  65.     cIntlText                    = 0x69747874,                    //  'itxt'  //
  66.     cIntlWritingCode            = 0x696e746c,                    //  'intl'  //
  67.     cItem                        = 0x6369746d,                    //  'citm'  //
  68.     cLine                        = 0x636c696e,                    //  'clin'  //
  69.     cLongDateTime                = 0x6c647420,                    //  'ldt '  //
  70.     cLongFixed                    = 0x6c667864,                    //  'lfxd'  //
  71.     cLongFixedPoint                = 0x6c667074,                    //  'lfpt'  //
  72.     cLongFixedRectangle            = 0x6c667263,                    //  'lfrc'  //
  73.     cLongInteger                = 0x6c6f6e67,                    //  'long'  //
  74.     cLongPoint                    = 0x6c706e74,                    //  'lpnt'  //
  75.     cLongRectangle                = 0x6c726374,                    //  'lrct'  //
  76.     cMachineLoc                    = 0x6d4c6f63,                    //  'mLoc'  //
  77.     cMenu                        = 0x636d6e75,                    //  'cmnu'  //
  78.     cMenuItem                    = 0x636d656e,                    //  'cmen'  //
  79.     cObject                        = 0x636f626a,                    //  'cobj'  //
  80.     cObjectSpecifier            = 0x6f626a20,                    //  'obj '  //
  81.     cOpenableObject                = 0x636f6f62,                    //  'coob'  //
  82.     cOval                        = 0x636f766c                    //  'covl'  //
  83. };
  84.  
  85. enum  {
  86.     cParagraph                    = 0x63706172,                    //  'cpar'  //
  87.     cPICT                        = 0x50494354,                    //  'PICT'  //
  88.     cPixel                        = 0x6370786c,                    //  'cpxl'  //
  89.     cPixelMap                    = 0x63706978,                    //  'cpix'  //
  90.     cPolygon                    = 0x6370676e,                    //  'cpgn'  //
  91.     cProperty                    = 0x70726f70,                    //  'prop'  //
  92.     cQDPoint                    = 0x51447074,                    //  'QDpt'  //
  93.     cQDRectangle                = 0x71647274,                    //  'qdrt'  //
  94.     cRectangle                    = 0x63726563,                    //  'crec'  //
  95.     cRGBColor                    = 0x63524742,                    //  'cRGB'  //
  96.     cRotation                    = 0x74726f74,                    //  'trot'  //
  97.     cRoundedRectangle            = 0x63727263,                    //  'crrc'  //
  98.     cRow                        = 0x63726f77,                    //  'crow'  //
  99.     cSelection                    = 0x6373656c,                    //  'csel'  //
  100.     cShortInteger                = 0x73686f72,                    //  'shor'  //
  101.     cTable                        = 0x6374626c,                    //  'ctbl'  //
  102.     cText                        = 0x63747874,                    //  'ctxt'  //
  103.     cTextFlow                    = 0x63666c6f,                    //  'cflo'  //
  104.     cTextStyles                    = 0x74737479,                    //  'tsty'  //
  105.     cType                        = 0x74797065                    //  'type'  //
  106. };
  107.  
  108. enum  {
  109.     cVersion                    = 0x76657273,                    //  'vers'  //
  110.     cWindow                        = 0x6377696e,                    //  'cwin'  //
  111.     cWord                        = 0x63776f72,                    //  'cwor'  //
  112.     enumArrows                    = 0x6172726f,                    //  'arro'  //
  113.     enumJustification            = 0x6a757374,                    //  'just'  //
  114.     enumKeyForm                    = 0x6b66726d,                    //  'kfrm'  //
  115.     enumPosition                = 0x706f7369,                    //  'posi'  //
  116.     enumProtection                = 0x7072746e,                    //  'prtn'  //
  117.     enumQuality                    = 0x7175616c,                    //  'qual'  //
  118.     enumSaveOptions                = 0x7361766f,                    //  'savo'  //
  119.     enumStyle                    = 0x7374796c,                    //  'styl'  //
  120.     enumTransferMode            = 0x7472616e,                    //  'tran'  //
  121.     formUniqueID                = 0x49442020,                    //  'ID  '  //
  122.     kAEAbout                    = 0x61626f75,                    //  'abou'  //
  123.     kAEAfter                    = 0x61667465,                    //  'afte'  //
  124.     kAEAliasSelection            = 0x73616c69,                    //  'sali'  //
  125.     kAEAllCaps                    = 0x616c6370,                    //  'alcp'  //
  126.     kAEArrowAtEnd                = 0x6172656e,                    //  'aren'  //
  127.     kAEArrowAtStart                = 0x61727374,                    //  'arst'  //
  128.     kAEArrowBothEnds            = 0x6172626f                    //  'arbo'  //
  129. };
  130.  
  131. enum  {
  132.     kAEAsk                        = 0x61736b20,                    //  'ask '  //
  133.     kAEBefore                    = 0x6265666f,                    //  'befo'  //
  134.     kAEBeginning                = 0x62676e67,                    //  'bgng'  //
  135.     kAEBeginsWith                = 0x62677774,                    //  'bgwt'  //
  136.     kAEBeginTransaction            = 0x62656769,                    //  'begi'  //
  137.     kAEBold                        = 0x626f6c64,                    //  'bold'  //
  138.     kAECaseSensEquals            = 0x63736571,                    //  'cseq'  //
  139.     kAECentered                    = 0x63656e74,                    //  'cent'  //
  140.     kAEChangeView                = 0x76696577,                    //  'view'  //
  141.     kAEClone                    = 0x636c6f6e,                    //  'clon'  //
  142.     kAEClose                    = 0x636c6f73,                    //  'clos'  //
  143.     kAECondensed                = 0x636f6e64,                    //  'cond'  //
  144.     kAEContains                    = 0x636f6e74,                    //  'cont'  //
  145.     kAECopy                        = 0x636f7079,                    //  'copy'  //
  146.     kAECoreSuite                = 0x636f7265,                    //  'core'  //
  147.     kAECountElements            = 0x636e7465,                    //  'cnte'  //
  148.     kAECreateElement            = 0x6372656c,                    //  'crel'  //
  149.     kAECreatePublisher            = 0x63707562,                    //  'cpub'  //
  150.     kAECut                        = 0x63757420,                    //  'cut '  //
  151.     kAEDelete                    = 0x64656c6f                    //  'delo'  //
  152. };
  153.  
  154. enum  {
  155.     kAEDoObjectsExist            = 0x646f6578,                    //  'doex'  //
  156.     kAEDoScript                    = 0x646f7363,                    //  'dosc'  //
  157.     kAEDrag                        = 0x64726167,                    //  'drag'  //
  158.     kAEDuplicateSelection        = 0x73647570,                    //  'sdup'  //
  159.     kAEEditGraphic                = 0x65646974,                    //  'edit'  //
  160.     kAEEmptyTrash                = 0x656d7074,                    //  'empt'  //
  161.     kAEEnd                        = 0x656e6420,                    //  'end '  //
  162.     kAEEndsWith                    = 0x656e6473,                    //  'ends'  //
  163.     kAEEndTransaction            = 0x656e6474,                    //  'endt'  //
  164.     kAEEquals                    = 0x3d202020,                    //  '=   '  //
  165.     kAEExpanded                    = 0x70657870,                    //  'pexp'  //
  166.     kAEFast                        = 0x66617374,                    //  'fast'  //
  167.     kAEFinderEvents                = 0x464e4452,                    //  'FNDR'  //
  168.     kAEFormulaProtect            = 0x6670726f,                    //  'fpro'  //
  169.     kAEFullyJustified            = 0x66756c6c,                    //  'full'  //
  170.     kAEGetClassInfo                = 0x716f626a,                    //  'qobj'  //
  171.     kAEGetData                    = 0x67657464,                    //  'getd'  //
  172.     kAEGetDataSize                = 0x6473697a,                    //  'dsiz'  //
  173.     kAEGetEventInfo                = 0x67746569,                    //  'gtei'  //
  174.     kAEGetInfoSelection            = 0x73696e66                    //  'sinf'  //
  175. };
  176.  
  177. enum  {
  178.     kAEGetPrivilegeSelection    = 0x73707276,                    //  'sprv'  //
  179.     kAEGetSuiteInfo                = 0x67747369,                    //  'gtsi'  //
  180.     kAEGreaterThan                = 0x3e202020,                    //  '>   '  //
  181.     kAEGreaterThanEquals        = 0x3e3d2020,                    //  '>=  '  //
  182.     kAEGrow                        = 0x67726f77,                    //  'grow'  //
  183.     kAEHidden                    = 0x6869646e,                    //  'hidn'  //
  184.     kAEHiQuality                = 0x68697175,                    //  'hiqu'  //
  185.     kAEImageGraphic                = 0x696d6772,                    //  'imgr'  //
  186.     kAEIsUniform                = 0x6973756e,                    //  'isun'  //
  187.     kAEItalic                    = 0x6974616c,                    //  'ital'  //
  188.     kAELeftJustified            = 0x6c656674,                    //  'left'  //
  189.     kAELessThan                    = 0x3c202020,                    //  '<   '  //
  190.     kAELessThanEquals            = 0x3c3d2020,                    //  '<=  '  //
  191.     kAELowercase                = 0x6c6f7763,                    //  'lowc'  //
  192.     kAEMakeObjectsVisible        = 0x6d766973,                    //  'mvis'  //
  193.     kAEMiscStandards            = 0x6d697363,                    //  'misc'  //
  194.     kAEModifiable                = 0x6d6f6466,                    //  'modf'  //
  195.     kAEMove                        = 0x6d6f7665,                    //  'move'  //
  196.     kAENo                        = 0x6e6f2020,                    //  'no  '  //
  197.     kAENoArrow                    = 0x61726e6f                    //  'arno'  //
  198. };
  199.  
  200. enum  {
  201.     kAENonmodifiable            = 0x6e6d6f64,                    //  'nmod'  //
  202.     kAEOpen                        = 0x6f646f63,                    //  'odoc'  //
  203.     kAEOpenSelection            = 0x736f7065,                    //  'sope'  //
  204.     kAEOutline                    = 0x6f75746c,                    //  'outl'  //
  205.     kAEPageSetup                = 0x70677375,                    //  'pgsu'  //
  206.     kAEPaste                    = 0x70617374,                    //  'past'  //
  207.     kAEPlain                    = 0x706c616e,                    //  'plan'  //
  208.     kAEPrint                    = 0x70646f63,                    //  'pdoc'  //
  209.     kAEPrintSelection            = 0x73707269,                    //  'spri'  //
  210.     kAEPrintWindow                = 0x7077696e,                    //  'pwin'  //
  211.     kAEPutAwaySelection            = 0x73707574,                    //  'sput'  //
  212.     kAEQDAddOver                = 0x6164646f,                    //  'addo'  //
  213.     kAEQDAddPin                    = 0x61646470,                    //  'addp'  //
  214.     kAEQDAdMax                    = 0x61646d78,                    //  'admx'  //
  215.     kAEQDAdMin                    = 0x61646d6e,                    //  'admn'  //
  216.     kAEQDBic                    = 0x62696320,                    //  'bic '  //
  217.     kAEQDBlend                    = 0x626c6e64,                    //  'blnd'  //
  218.     kAEQDCopy                    = 0x63707920,                    //  'cpy '  //
  219.     kAEQDNotBic                    = 0x6e626963,                    //  'nbic'  //
  220.     kAEQDNotCopy                = 0x6e637079                    //  'ncpy'  //
  221. };
  222.  
  223. enum  {
  224.     kAEQDNotOr                    = 0x6e746f72,                    //  'ntor'  //
  225.     kAEQDNotXor                    = 0x6e786f72,                    //  'nxor'  //
  226.     kAEQDOr                        = 0x6f722020,                    //  'or  '  //
  227.     kAEQDSubOver                = 0x7375626f,                    //  'subo'  //
  228.     kAEQDSubPin                    = 0x73756270,                    //  'subp'  //
  229.     kAEQDSupplementalSuite        = 0x71647370,                    //  'qdsp'  //
  230.     kAEQDXor                    = 0x786f7220,                    //  'xor '  //
  231.     kAEQuickdrawSuite            = 0x71647277,                    //  'qdrw'  //
  232.     kAEQuitAll                    = 0x71756961,                    //  'quia'  //
  233.     kAERedo                        = 0x7265646f,                    //  'redo'  //
  234.     kAERegular                    = 0x7265676c,                    //  'regl'  //
  235.     kAEReplace                    = 0x72706c63,                    //  'rplc'  //
  236.     kAERequiredSuite            = 0x72657164,                    //  'reqd'  //
  237.     kAERestart                    = 0x72657374,                    //  'rest'  //
  238.     kAERevealSelection            = 0x73726576,                    //  'srev'  //
  239.     kAERevert                    = 0x72767274,                    //  'rvrt'  //
  240.     kAERightJustified            = 0x72676874,                    //  'rght'  //
  241.     kAESave                        = 0x73617665,                    //  'save'  //
  242.     kAESelect                    = 0x736c6374,                    //  'slct'  //
  243.     kAESetData                    = 0x73657464                    //  'setd'  //
  244. };
  245.  
  246. enum  {
  247.     kAESetPosition                = 0x706f736e,                    //  'posn'  //
  248.     kAEShadow                    = 0x73686164,                    //  'shad'  //
  249.     kAEShowClipboard            = 0x7368636c,                    //  'shcl'  //
  250.     kAEShutDown                    = 0x73687574,                    //  'shut'  //
  251.     kAESleep                    = 0x736c6570,                    //  'slep'  //
  252.     kAESmallCaps                = 0x736d6370,                    //  'smcp'  //
  253.     kAESpecialClassProperties    = 0x63402321,                    //  'c@#!'  //
  254.     kAEStrikethrough            = 0x7374726b,                    //  'strk'  //
  255.     kAESubscript                = 0x73627363,                    //  'sbsc'  //
  256.     kAESuperscript                = 0x73707363,                    //  'spsc'  //
  257.     kAETableSuite                = 0x74626c73,                    //  'tbls'  //
  258.     kAETextSuite                = 0x54455854,                    //  'TEXT'  //
  259.     kAETransactionTerminated    = 0x7474726d,                    //  'ttrm'  //
  260.     kAEUnderline                = 0x756e646c,                    //  'undl'  //
  261.     kAEUndo                        = 0x756e646f,                    //  'undo'  //
  262.     kAEWholeWordEquals            = 0x77776571,                    //  'wweq'  //
  263.     kAEYes                        = 0x79657320,                    //  'yes '  //
  264.     kAEZoom                        = 0x7a6f6f6d,                    //  'zoom'  //
  265.     keyAEAngle                    = 0x6b616e67,                    //  'kang'  //
  266.     keyAEArcAngle                = 0x70617263                    //  'parc'  //
  267. };
  268.  
  269. enum  {
  270.     keyAEBaseAddr                = 0x62616464,                    //  'badd'  //
  271.     keyAEBestType                = 0x70627374,                    //  'pbst'  //
  272.     keyAEBgndColor                = 0x6b62636c,                    //  'kbcl'  //
  273.     keyAEBgndPattern            = 0x6b627074,                    //  'kbpt'  //
  274.     keyAEBounds                    = 0x70626e64,                    //  'pbnd'  //
  275.     keyAECellList                = 0x6b636c74,                    //  'kclt'  //
  276.     keyAEClassID                = 0x636c4944,                    //  'clID'  //
  277.     keyAEColor                    = 0x636f6c72,                    //  'colr'  //
  278.     keyAEColorTable                = 0x636c7462,                    //  'cltb'  //
  279.     keyAECurveHeight            = 0x6b636864,                    //  'kchd'  //
  280.     keyAECurveWidth                = 0x6b637764,                    //  'kcwd'  //
  281.     keyAEDashStyle                = 0x70647374,                    //  'pdst'  //
  282.     keyAEData                    = 0x64617461,                    //  'data'  //
  283.     keyAEDefaultType            = 0x64656674,                    //  'deft'  //
  284.     keyAEDefinitionRect            = 0x70647274,                    //  'pdrt'  //
  285.     keyAEDescType                = 0x64737470,                    //  'dstp'  //
  286.     keyAEDestination            = 0x64657374,                    //  'dest'  //
  287.     keyAEDoAntiAlias            = 0x616e7461,                    //  'anta'  //
  288.     keyAEDoDithered                = 0x67646974,                    //  'gdit'  //
  289.     keyAEDoRotate                = 0x6b647274                    //  'kdrt'  //
  290. };
  291.  
  292. enum  {
  293.     keyAEDoScale                = 0x6b736361,                    //  'ksca'  //
  294.     keyAEDoTranslate            = 0x6b747261,                    //  'ktra'  //
  295.     keyAEEditionFileLoc            = 0x656c6f63,                    //  'eloc'  //
  296.     keyAEElements                = 0x656c6d73,                    //  'elms'  //
  297.     keyAEEndPoint                = 0x70656e64,                    //  'pend'  //
  298.     keyAEEventClass                = 0x6576636c,                    //  'evcl'  //
  299.     keyAEEventID                = 0x65767469,                    //  'evti'  //
  300.     keyAEFile                    = 0x6b66696c,                    //  'kfil'  //
  301.     keyAEFileType                = 0x666c7470,                    //  'fltp'  //
  302.     keyAEFillColor                = 0x666c636c,                    //  'flcl'  //
  303.     keyAEFillPattern            = 0x666c7074,                    //  'flpt'  //
  304.     keyAEFlipHorizontal            = 0x6b66686f,                    //  'kfho'  //
  305.     keyAEFlipVertical            = 0x6b667674,                    //  'kfvt'  //
  306.     keyAEFont                    = 0x666f6e74,                    //  'font'  //
  307.     keyAEFormula                = 0x70666f72,                    //  'pfor'  //
  308.     keyAEGraphicObjects            = 0x676f6273,                    //  'gobs'  //
  309.     keyAEID                        = 0x49442020,                    //  'ID  '  //
  310.     keyAEImageQuality            = 0x67717561,                    //  'gqua'  //
  311.     keyAEInsertHere                = 0x696e7368,                    //  'insh'  //
  312.     keyAEKeyForms                = 0x6b657966                    //  'keyf'  //
  313. };
  314.  
  315. enum  {
  316.     keyAEKeyword                = 0x6b797764,                    //  'kywd'  //
  317.     keyAELevel                    = 0x6c65766c,                    //  'levl'  //
  318.     keyAELineArrow                = 0x6172726f,                    //  'arro'  //
  319.     keyAEName                    = 0x706e616d,                    //  'pnam'  //
  320.     keyAENewElementLoc            = 0x706e656c,                    //  'pnel'  //
  321.     keyAEObject                    = 0x6b6f626a,                    //  'kobj'  //
  322.     keyAEObjectClass            = 0x6b6f636c,                    //  'kocl'  //
  323.     keyAEOffStyles                = 0x6f667374,                    //  'ofst'  //
  324.     keyAEOnStyles                = 0x6f6e7374,                    //  'onst'  //
  325.     keyAEParameters                = 0x70726d73,                    //  'prms'  //
  326.     keyAEParamFlags                = 0x706d6667,                    //  'pmfg'  //
  327.     keyAEPenColor                = 0x7070636c,                    //  'ppcl'  //
  328.     keyAEPenPattern                = 0x70707061,                    //  'pppa'  //
  329.     keyAEPenWidth                = 0x70707764,                    //  'ppwd'  //
  330.     keyAEPixelDepth                = 0x70647074,                    //  'pdpt'  //
  331.     keyAEPixMapMinus            = 0x6b706d6d,                    //  'kpmm'  //
  332.     keyAEPMTable                = 0x6b706d74,                    //  'kpmt'  //
  333.     keyAEPointList                = 0x70746c74,                    //  'ptlt'  //
  334.     keyAEPointSize                = 0x7074737a,                    //  'ptsz'  //
  335.     keyAEPosition                = 0x6b706f73                    //  'kpos'  //
  336. };
  337.  
  338. enum  {
  339.     keyAEPropData                = 0x70726474,                    //  'prdt'  //
  340.     keyAEProperties                = 0x7170726f,                    //  'qpro'  //
  341.     keyAEProperty                = 0x6b707270,                    //  'kprp'  //
  342.     keyAEPropFlags                = 0x70726667,                    //  'prfg'  //
  343.     keyAEPropID                    = 0x70726f70,                    //  'prop'  //
  344.     keyAEProtection                = 0x7070726f,                    //  'ppro'  //
  345.     keyAERenderAs                = 0x6b72656e,                    //  'kren'  //
  346.     keyAERequestedType            = 0x72747970,                    //  'rtyp'  //
  347.     keyAEResult                    = 0x2d2d2d2d,                    //  '----'  //
  348.     keyAEResultInfo                = 0x7273696e,                    //  'rsin'  //
  349.     keyAERotation                = 0x70726f74,                    //  'prot'  //
  350.     keyAERotPoint                = 0x6b727470,                    //  'krtp'  //
  351.     keyAERowList                = 0x6b726c73,                    //  'krls'  //
  352.     keyAESaveOptions            = 0x7361766f,                    //  'savo'  //
  353.     keyAEScale                    = 0x7073636c,                    //  'pscl'  //
  354.     keyAEScriptTag                = 0x70736374,                    //  'psct'  //
  355.     keyAEShowWhere                = 0x73686f77,                    //  'show'  //
  356.     keyAEStartAngle                = 0x70616e67,                    //  'pang'  //
  357.     keyAEStartPoint                = 0x70737470,                    //  'pstp'  //
  358.     keyAEStyles                    = 0x6b737479                    //  'ksty'  //
  359. };
  360.  
  361. enum  {
  362.     keyAESuiteID                = 0x73756974,                    //  'suit'  //
  363.     keyAEText                    = 0x6b747874,                    //  'ktxt'  //
  364.     keyAETextColor                = 0x70747863,                    //  'ptxc'  //
  365.     keyAETextFont                = 0x70747866,                    //  'ptxf'  //
  366.     keyAETextPointSize            = 0x70747073,                    //  'ptps'  //
  367.     keyAETextStyles                = 0x74787374,                    //  'txst'  //
  368.     keyAETheText                = 0x74687478,                    //  'thtx'  //
  369.     keyAETransferMode            = 0x7070746d,                    //  'pptm'  //
  370.     keyAETranslation            = 0x70747273,                    //  'ptrs'  //
  371.     keyAETryAsStructGraf        = 0x746f6f67,                    //  'toog'  //
  372.     keyAEUniformStyles            = 0x7573746c,                    //  'ustl'  //
  373.     keyAEUpdateOn                = 0x70757064,                    //  'pupd'  //
  374.     keyAEUserTerm                = 0x7574726d,                    //  'utrm'  //
  375.     keyAEWindow                    = 0x776e6477,                    //  'wndw'  //
  376.     keyAEWritingCode            = 0x77726364,                    //  'wrcd'  //
  377.     keyAETSMScriptTag            = 'sclg',
  378.     keyAETSMTextFont            = 'ktxf',
  379.     keyAETSMTextPointSize        = 'ktps',
  380.     keyMiscellaneous            = 0x666d7363                    //  'fmsc'  //
  381. };
  382.  
  383. enum  {
  384.     keySelection                = 0x6673656c,                    //  'fsel'  //
  385.     keyWindow                    = 0x6b776e64                    //  'kwnd'  //
  386. };
  387.  
  388. enum  {
  389.     pArcAngle                    = 0x70617263,                    //  'parc'  //
  390.     pBackgroundColor            = 0x7062636c,                    //  'pbcl'  //
  391.     pBackgroundPattern            = 0x70627074,                    //  'pbpt'  //
  392.     pBestType                    = 0x70627374,                    //  'pbst'  //
  393.     pBounds                        = 0x70626e64,                    //  'pbnd'  //
  394.     pClass                        = 0x70636c73,                    //  'pcls'  //
  395.     pClipboard                    = 0x70636c69,                    //  'pcli'  //
  396.     pColor                        = 0x636f6c72,                    //  'colr'  //
  397.     pColorTable                    = 0x636c7462,                    //  'cltb'  //
  398.     pContents                    = 0x70636e74,                    //  'pcnt'  //
  399.     pCornerCurveHeight            = 0x70636864,                    //  'pchd'  //
  400.     pCornerCurveWidth            = 0x70637764,                    //  'pcwd'  //
  401.     pDashStyle                    = 0x70647374,                    //  'pdst'  //
  402.     pDefaultType                = 0x64656674,                    //  'deft'  //
  403.     pDefinitionRect                = 0x70647274,                    //  'pdrt'  //
  404.     pEnabled                    = 0x656e626c,                    //  'enbl'  //
  405.     pEndPoint                    = 0x70656e64,                    //  'pend'  //
  406.     pFillColor                    = 0x666c636c,                    //  'flcl'  //
  407.     pFillPattern                = 0x666c7074,                    //  'flpt'  //
  408.     pFont                        = 0x666f6e74                    //  'font'  //
  409. };
  410.  
  411. enum  {
  412.     pFormula                    = 0x70666f72,                    //  'pfor'  //
  413.     pGraphicObjects                = 0x676f6273,                    //  'gobs'  //
  414.     pHasCloseBox                = 0x68636c62,                    //  'hclb'  //
  415.     pHasTitleBar                = 0x70746974,                    //  'ptit'  //
  416.     pID                            = 0x49442020,                    //  'ID  '  //
  417.     pIndex                        = 0x70696478,                    //  'pidx'  //
  418.     pInsertionLoc                = 0x70696e73,                    //  'pins'  //
  419.     pIsFloating                    = 0x6973666c,                    //  'isfl'  //
  420.     pIsFrontProcess                = 0x70697366,                    //  'pisf'  //
  421.     pIsModal                    = 0x706d6f64,                    //  'pmod'  //
  422.     pIsModified                    = 0x696d6f64,                    //  'imod'  //
  423.     pIsResizable                = 0x7072737a,                    //  'prsz'  //
  424.     pIsStationeryPad            = 0x70737064,                    //  'pspd'  //
  425.     pIsZoomable                    = 0x69737a6d,                    //  'iszm'  //
  426.     pIsZoomed                    = 0x707a756d,                    //  'pzum'  //
  427.     pItemNumber                    = 0x69746d6e,                    //  'itmn'  //
  428.     pJustification                = 0x706a7374,                    //  'pjst'  //
  429.     pLineArrow                    = 0x6172726f,                    //  'arro'  //
  430.     pMenuID                        = 0x6d6e6964,                    //  'mnid'  //
  431.     pName                        = 0x706e616d                    //  'pnam'  //
  432. };
  433.  
  434. enum  {
  435.     pNewElementLoc                = 0x706e656c,                    //  'pnel'  //
  436.     pPenColor                    = 0x7070636c,                    //  'ppcl'  //
  437.     pPenPattern                    = 0x70707061,                    //  'pppa'  //
  438.     pPenWidth                    = 0x70707764,                    //  'ppwd'  //
  439.     pPixelDepth                    = 0x70647074,                    //  'pdpt'  //
  440.     pPointList                    = 0x70746c74,                    //  'ptlt'  //
  441.     pPointSize                    = 0x7074737a,                    //  'ptsz'  //
  442.     pProtection                    = 0x7070726f,                    //  'ppro'  //
  443.     pRotation                    = 0x70726f74,                    //  'prot'  //
  444.     pScale                        = 0x7073636c,                    //  'pscl'  //
  445.     pScript                        = 0x73637074,                    //  'scpt'  //
  446.     pScriptTag                    = 0x70736374,                    //  'psct'  //
  447.     pSelected                    = 0x73656c63,                    //  'selc'  //
  448.     pSelection                    = 0x73656c65,                    //  'sele'  //
  449.     pStartAngle                    = 0x70616e67,                    //  'pang'  //
  450.     pStartPoint                    = 0x70737470,                    //  'pstp'  //
  451.     pTextColor                    = 0x70747863,                    //  'ptxc'  //
  452.     pTextFont                    = 0x70747866,                    //  'ptxf'  //
  453.     pTextItemDelimiters            = 0x7478646c,                    //  'txdl'  //
  454.     pTextPointSize                = 0x70747073                    //  'ptps'  //
  455. };
  456.  
  457. enum  {
  458.     pTextStyles                    = 0x74787374,                    //  'txst'  //
  459.     pTransferMode                = 0x7070746d,                    //  'pptm'  //
  460.     pTranslation                = 0x70747273,                    //  'ptrs'  //
  461.     pUniformStyles                = 0x7573746c,                    //  'ustl'  //
  462.     pUpdateOn                    = 0x70757064,                    //  'pupd'  //
  463.     pUserSelection                = 0x7075736c,                    //  'pusl'  //
  464.     pVersion                    = 0x76657273,                    //  'vers'  //
  465.     pVisible                    = 0x70766973                    //  'pvis'  //
  466. };
  467.  
  468. enum  {
  469.     typeAEText                    = 0x74545854,                    //  'tTXT'  //
  470.     typeArc                        = 0x63617263,                    //  'carc'  //
  471.     typeBest                    = 0x62657374,                    //  'best'  //
  472.     typeCell                    = 0x6363656c,                    //  'ccel'  //
  473.     typeClassInfo                = 0x67636c69,                    //  'gcli'  //
  474.     typeColorTable                = 0x636c7274,                    //  'clrt'  //
  475.     typeColumn                    = 0x63636f6c,                    //  'ccol'  //
  476.     typeDashStyle                = 0x74646173,                    //  'tdas'  //
  477.     typeData                    = 0x74647461,                    //  'tdta'  //
  478.     typeDrawingArea                = 0x63647277,                    //  'cdrw'  //
  479.     typeElemInfo                = 0x656c696e,                    //  'elin'  //
  480.     typeEnumeration                = 0x656e756d,                    //  'enum'  //
  481.     typeEPS                        = 0x45505320,                    //  'EPS '  //
  482.     typeEventInfo                = 0x6576696e                    //  'evin'  //
  483. };
  484.  
  485. enum  {
  486.     typeFinderWindow            = 0x6677696e,                    //  'fwin'  //
  487.     typeFixed                    = 0x66697864,                    //  'fixd'  //
  488.     typeFixedPoint                = 0x66706e74,                    //  'fpnt'  //
  489.     typeFixedRectangle            = 0x66726374,                    //  'frct'  //
  490.     typeGraphicLine                = 0x676c696e,                    //  'glin'  //
  491.     typeGraphicText                = 0x63677478,                    //  'cgtx'  //
  492.     typeGroupedGraphic            = 0x63706963,                    //  'cpic'  //
  493.     typeInsertionLoc            = 0x696e736c,                    //  'insl'  //
  494.     typeIntlText                = 0x69747874,                    //  'itxt'  //
  495.     typeIntlWritingCode            = 0x696e746c,                    //  'intl'  //
  496.     typeLongDateTime            = 0x6c647420,                    //  'ldt '  //
  497.     typeLongFixed                = 0x6c667864,                    //  'lfxd'  //
  498.     typeLongFixedPoint            = 0x6c667074,                    //  'lfpt'  //
  499.     typeLongFixedRectangle        = 0x6c667263,                    //  'lfrc'  //
  500.     typeLongPoint                = 0x6c706e74,                    //  'lpnt'  //
  501.     typeLongRectangle            = 0x6c726374,                    //  'lrct'  //
  502.     typeMachineLoc                = 0x6d4c6f63,                    //  'mLoc'  //
  503.     typeOval                    = 0x636f766c,                    //  'covl'  //
  504.     typeParamInfo                = 0x706d696e,                    //  'pmin'  //
  505.     typePict                    = 0x50494354                    //  'PICT'  //
  506. };
  507.  
  508. enum  {
  509.     typePixelMap                = 0x63706978,                    //  'cpix'  //
  510.     typePixMapMinus                = 0x74706d6d,                    //  'tpmm'  //
  511.     typePolygon                    = 0x6370676e,                    //  'cpgn'  //
  512.     typePropInfo                = 0x70696e66,                    //  'pinf'  //
  513.     typeQDPoint                    = 0x51447074,                    //  'QDpt'  //
  514.     typeQDRectangle                = 0x71647274,                    //  'qdrt'  //
  515.     typeRectangle                = 0x63726563,                    //  'crec'  //
  516.     typeRGB16                    = 0x74723136,                    //  'tr16'  //
  517.     typeRGB96                    = 0x74723936,                    //  'tr96'  //
  518.     typeRGBColor                = 0x63524742,                    //  'cRGB'  //
  519.     typeRotation                = 0x74726f74,                    //  'trot'  //
  520.     typeRoundedRectangle        = 0x63727263,                    //  'crrc'  //
  521.     typeRow                        = 0x63726f77,                    //  'crow'  //
  522.     typeScrapStyles                = 0x7374796c,                    //  'styl'  //
  523.     typeScript                    = 0x73637074,                    //  'scpt'  //
  524.     typeStyledText                = 0x53545854,                    //  'STXT'  //
  525.     typeSuiteInfo                = 0x7375696e,                    //  'suin'  //
  526.     typeTable                    = 0x6374626c,                    //  'ctbl'  //
  527.     typeTextStyles                = 0x74737479                    //  'tsty'  //
  528. };
  529.  
  530. enum  {
  531.     typeTIFF                    = 0x54494646,                    //  'TIFF'  //
  532.     typeVersion                    = 0x76657273                    //  'vers'  //
  533. };
  534.  
  535. enum  {
  536.     kBySmallIcon                = 0,
  537.     kByIconView                    = 1,
  538.     kByNameView                    = 2,
  539.     kByDateView                    = 3,
  540.     kBySizeView                    = 4,
  541.     kByKindView                    = 5,
  542.     kByCommentView                = 6,
  543.     kByLabelView                = 7,
  544.     kByVersionView                = 8
  545. };
  546.  
  547. enum  {
  548.     errAEBadKeyForm                = -10002,
  549.     errAECantHandleClass        = -10010,
  550.     errAECantSupplyType            = -10009,
  551.     errAECantUndo                = -10015,
  552.     errAEEventFailed            = -10000,
  553.     errAEIndexTooLarge            = -10007,
  554.     errAEInTransaction            = -10011,
  555.     errAELocalOnly                = -10016,
  556.     errAENoSuchTransaction        = -10012,
  557.     errAENotAnElement            = -10008,
  558.     errAENotASingleObject        = -10014,
  559.     errAENotModifiable            = -10003,
  560.     errAENoUserSelection        = -10013,
  561.     errAEPrivilegeError            = -10004,
  562.     errAEReadDenied                = -10005,
  563.     errAETypeError                = -10001,
  564.     errAEWriteDenied            = -10006
  565. };
  566.  
  567. enum  {
  568.     kAEInfo                        = 11,
  569.     kAEMain                        = 0,
  570.     kAESharing                    = 13
  571. };
  572.  
  573. enum  {
  574.     zoomIn                        = 7,
  575.     zoomOut                        = 8
  576. };
  577.  
  578. #if defined(powerc) || defined (__powerc)
  579. #pragma options align=mac68k
  580. #endif
  581. struct WritingCode {
  582.     ScriptCode                    theScriptCode;
  583.     LangCode                    theLangCode;
  584. };
  585. #if defined(powerc) || defined(__powerc)
  586. #pragma options align=reset
  587. #endif
  588.  
  589. typedef struct WritingCode WritingCode;
  590.  
  591. #if defined(powerc) || defined (__powerc)
  592. #pragma options align=mac68k
  593. #endif
  594. struct IntlText {
  595.     ScriptCode                    theScriptCode;
  596.     LangCode                    theLangCode;
  597.     char                        theText[1];
  598. /* variable length data */
  599. };
  600. #if defined(powerc) || defined(__powerc)
  601. #pragma options align=reset
  602. #endif
  603.  
  604. typedef struct IntlText IntlText;
  605.  
  606. #endif
  607.  
  608.